<!--
 * @Author: ljc
 * @Date: 2024-08-05 10:46:06
 * @LastEditors: g05047
 * @LastEditTime: 2024-11-25 16:31:01
 * @Description: 单位和区划占位组件
-->
<template>
  <el-form-item v-if="treeType==='ad'"
    :label="i18nt('designer.setting.adPlaceholder')">
    <el-input type="text"
      v-model="optionModel.adConfig.adPlaceholder"></el-input>
  </el-form-item>
  <el-form-item v-else
    :label="i18nt('designer.setting.agPlaceholder')">
    <el-input type="text"
      v-model="optionModel.agConfig.agPlaceholder"></el-input>
  </el-form-item>

</template>
<script>
import i18n from "@/utils/i18n"
import propertyMixin from "@/components/form-designer/setting-panel/property-editor/propertyMixin"
export default {
  name: "treePlaceholder-editor",
  mixins: [i18n, propertyMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
    treeType: String,
  },
}
</script>
<style scoped>
</style>
